<%if(tempId == 'BaseFrameWork'){%>
	<div class="container-fluid"> 
		<div class="row-fluid">
			<div class="span2" id="idearSidebarDiv"></div>
			<div class="span8" id="idearsCenter"></div>
			<div class="span2" id="idearRightDiv"></div>
		</div>
	</div>
<% } else if(tempId == 'CreateIdear'){%>
	<div id="createIdearDiv" class="well">

		<form id="createIdearForm" class="form-horizontal" method="post">
			<fieldset>
			 <legend>Write Idear</legend>
			  <div class="control-group">
			    <label class="control-label" for="title">写个醒目的标题</label>
			    <div class="controls">
			      <input type="text"	id="title" name="title" class="normal_input_text"/>
			      <p class="help-block">  </p>
			    </div>
			 </div>
			 <div class="control-group">
			    <label class="control-label" for="problem">解决什么问题？</label>
			    <div class="controls">
			    <textarea id="problem" name="problem" class="textarea">
				</textarea>
			      <p class="help-block"> </p>
			    </div>
			 </div>
			 <div class="control-group">
			    <label class="control-label" for="solution">创意描述：</label>
			    <div class="controls">
			      <textarea id="solution" name="solution" class="textarea" >
				 </textarea>
			      <p class="help-block">  </p>
			    </div>
			 </div>	 
			 <div> 
			    <input id="cancelBtn" type="reset" value="Cancel"/>
				<input id="submitIdearBtn" type="button" class="btn btn-primary" value="Publish"/>
			 </div>
			</fieldset>
		</form>
	</div>
<% } else if(tempId == 'Sidebar'){%>
    <ul class="unstyled">
	<li><a href="#IdearModule/idear/newIdear" class="btn btn-primary">发布创意</a></li>
	<li><a href="#IdearModule/idear/idearList" class="btn">创意列表</a></li>
    </ul>
<% } else if(tempId == 'IdearView'){%>
	<div>
		 <h1><%=data.title%></h1>
		 <blockquote class="pull-right"><small>Create at <%=data.createDate%></small></blockquote>
	</div>
	<div class="well">
		<div><span class="badge badge-success">The problem</span></div>
		<div class="alert alert-info">
			<p><%=data.problem%></p>
		</div>
	</div>
	<div class="well">
		<div><span class="badge badge-success">The Solution</span></div>
		<div><p><%=data.solution%></p></div>
	</div>

<% } else if(tempId == 'IdearList'){%>
    <ul class="unstyled"></ul>
<% } else if(tempId == 'IdearListItem'){%>
	<div class="row-fluid">
		<div class="span8">
			<h3><a href="#IdearModule/idear/showIdear/<%=data.idearId %>"><%=data.title%></a></h3>
		</div>
		<div class="span4">
			<small class="pull-right"><%=data.createDate%></small>
		</div>
	</div>
<% } else if(tempId == 'AddComment'){%>
	<div>
	 <div>
	   <textarea class="textarea" style="width: 100%; height: 100px;" placeholder="Add a good comment ..."></textarea>
	 </div>
	 <div><input type="button" class="btn btn-primary" value="Submit"/></div>
	</div>
<% } else if(tempId == 'CommentList'){%>
	 <ul class="unstyled"></ul>
<% } else if(tempId == 'CommentListItem'){%>
 <div class="row-fluid"><div class="span12"><h3 class="pull-right"><%=data.commentDate%></h3></div></div>
 <div class="row-fluid">
 	<div class="span12">
 		<textarea class="textarea" style="width: 100%; height: 100px;">
 			<%=data.comment%>
 		</textarea>
 	</div>
 </div>
<%}%>